package org.acsis.covoiturage.frontend.modemockl;

import java.util.Date;
import java.util.List;

import org.acsis.covoiturage.shared.IClient;
import org.acsis.covoiturage.shared.ITrajet;

public class ClientMock implements IClient{


	private int id;
	private String nom;
	private String prenom;
	private Date date_nassaice;
	private Date date_insription;
	private String mail;
	private String civilite;
	private String user;
	
	public ClientMock(int id, String nom, String prenom, 
			Date dateNaissance, Date dateInscription,
			String mail, String cilviel){
		this(id, nom, prenom, dateNaissance, dateInscription, mail, cilviel, null);
	}
	
	public ClientMock(int id, String nom, String prenom, 
						Date dateNaissance, Date dateInscription,
						String mail, String cilviel, String user) {
		this.id = id;
		this.nom = nom;
		this.prenom = prenom;
		this.date_insription = dateInscription;
		this.date_nassaice = dateNaissance;
		this.mail = mail;
		this.civilite = cilviel;
		this.user = user;
	}
	
	@Override
	public String getAdressMail() {
		return mail;
	}

	@Override
	public String getCivilite() {
		return civilite;
	}

	@Override
	public Date getDateInscription() {
		return date_insription;
	}

	@Override
	public Date getDateNaissance() {
		return date_nassaice;
	}

	@Override
	public Long getIdClient() {
		return new Long(id);
	}

	@Override
	public String getNom() {
		return nom;
	}

	@Override
	public String getPrenom() {
		return prenom;
	}

	@Override
	public String getUtilisateur() {
		return user;
	}

	@Override
	public List<ITrajet> getTrajets() {
		return null;
	}

}
